//package com.zmn.plat.dubbo.interfaces.product;
//
//import java.util.List;
//
//import javax.validation.Valid;
//import javax.validation.constraints.NotNull;
//import javax.validation.constraints.Positive;
//
//import com.zmn.common.dto2.ResponseDTO;
//import com.zmn.plat.common.dto.product.ServSubsidiaryItemDIO;
//import com.zmn.plat.common.dto.product.ServSubsidiaryItemDRO;
//
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import io.swagger.annotations.ApiParam;
//
///**
// * 故障保修详情远程服务
// *
// * @auther: tanghongjun
// * @since: 2018/11/20 20:31
// */
//@Api(value = "故障保修详情远程服务", tags = {"故障保修"})
//public interface ServSubsidiaryItemListRemoteService {
//    /**
//     * 描述: 根据故障/保修ID查询故障/保修信息
//     *
//     * @param itemId
//     *            故障/保修ID
//     * @return ResponseDTO<ServSubsidiaryItemDRO>
//     * @auther: tanghongjun
//     * @since: 2018/11/8 14:30
//     */
//    @ApiOperation(value = "根据故障/保修ID查询故障/保修信息", response = ResponseDTO.class, notes = "", tags = {"故障保修"})
//    ResponseDTO<ServSubsidiaryItemDRO> getById(@NotNull(message = "itemId不能为空") @Positive(message = "itemId必须为大于0的正整数") @ApiParam(value = "故障/保修ID", required = true) Integer itemId);
//
//    /**
//     * 描述: 根据故障/保修查询条件查询分组列表
//     *
//     * @param servSubsidiaryItemDIO
//     *            故障/保修查询条件
//     * @return ResponseDTO<ServSubsidiaryItemDRO>
//     * @auther: tanghongjun
//     * @since: 2018/11/8 14:30
//     */
//    @ApiOperation(value = "根据故障/保修查询条件查询分组列表", response = ResponseDTO.class, notes = "", tags = {"故障保修"})
//    ResponseDTO<List<ServSubsidiaryItemDRO>> listByDIO(@NotNull(message = "入参不能为空") @Valid @ApiParam(value = "入参", required = true) ServSubsidiaryItemDIO servSubsidiaryItemDIO);
//
//    /**
//     * 描述: 根据产品ID获取故障（保修）分组
//     *
//     * @param productId
//     *            产品ID
//     * @param type
//     *            类型 1,故障分组；2,保修分组
//     * @return
//     * @auther tanghongjun
//     * @since 2019/5/20 14:04
//     */
//    @ApiOperation(value = "根据产品ID获取故障（保修）分组", response = ResponseDTO.class, notes = "", tags = {"故障保修"})
//    ResponseDTO<List<ServSubsidiaryItemDRO>> listByProductIdAndType(
//        @NotNull(message = "productId不能为空") @Positive(message = "productId必须为大于0的正整数") @ApiParam(value = "产品ID", required = true) Integer productId,
//        @NotNull(message = "type不能为空") @Positive(message = "type必须为大于0的正整数") @ApiParam(value = "类型", required = true) Integer type);
//
//    /**
//     * 描述: 根据故障/保修查询条件查询故障分组
//     *
//     * @param productId
//     *            产品Id
//     * @return ResponseDTO<ServSubsidiaryItemDRO>
//     * @auther: tanghongjun
//     * @since: 2018/11/8 14:30
//     */
//    @ApiOperation(value = "根据产品id查询故障分组", response = ResponseDTO.class, notes = "", tags = {"故障保修"})
//    ResponseDTO<List<ServSubsidiaryItemDRO>>
//        listFaultByProductId(@NotNull(message = "productId不能为空") @Positive(message = "productId必须为大于0的正整数") @ApiParam(value = "产品ID", required = true) Integer productId);
//
//    /**
//     * 描述: 根据故障/保修查询条件查询保修分组
//     *
//     * @param productId
//     *            产品Id
//     * @return ResponseDTO<ServSubsidiaryItemDRO>
//     * @auther: tanghongjun
//     * @since: 2018/11/8 14:30
//     */
//    @ApiOperation(value = "根据产品id查询保修分组", response = ResponseDTO.class, notes = "", tags = {"故障保修"})
//    ResponseDTO<List<ServSubsidiaryItemDRO>>
//        listWarrantyByProductId(@NotNull(message = "productId不能为空") @Positive(message = "productId必须为大于0的正整数") @ApiParam(value = "产品ID", required = true) Integer productId);
//
//    /**
//     * 描述: 根据故障/保修查询条件查询故障/保修集合
//     *
//     * @return ResponseDTO<ServSubsidiaryItemDRO>
//     * @auther: tanghongjun
//     * @since: 2018/11/8 14:30
//     */
//    @ApiOperation(value = "查询所有", response = ResponseDTO.class, notes = "", tags = {"故障保修"})
//    ResponseDTO<List<ServSubsidiaryItemDRO>> listAll();
//
//}
